package com.edu.bean;

/*
 * @Author:mx
 * @Date:2025/10/10-16:07:53
 */
public class Student {

    private int studentId;

    private String studentName;

    private int age;

    private String gender;

    private int gradeId;

    private Grade myGrade;

    public Grade getMyGrade() {
        return myGrade;
    }

    public void setMyGrade(Grade myGrade) {
        this.myGrade = myGrade;
    }

    public int getStudentId() {
        return studentId;
    }

    public void setStudentId(int studentId) {
        this.studentId = studentId;
    }

    public String getStudentName() {
        return studentName;
    }

    public void setStudentName(String studentName) {
        this.studentName = studentName;
    }

    public int getAge() {
        return age;
    }

    public void setAge(int age) {
        this.age = age;
    }

    public String getGender() {
        return gender;
    }

    public void setGender(String gender) {
        this.gender = gender;
    }

    public int getGradeId() {
        return gradeId;
    }

    public void setGradeId(int gradeId) {
        this.gradeId = gradeId;
    }

    @Override
    public String toString() {
        return "Student{" +
                "studentId=" + studentId +
                ", studentName='" + studentName + '\'' +
                ", age=" + age +
                ", gender='" + gender + '\'' +
                ", gradeId=" + gradeId +
                '}';
    }
}
